package com.wzdigit.wms.basic.mapper.core.inventory.manager;

import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.basic.domain.dtos.inventory.SnInforDto;
import com.wzdigit.wms.basic.client.request.report.SettlementReportSearchRequest;
import com.wzdigit.wms.basic.client.response.report.SettlementReportExt;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

@MyBatisRepository
public interface GoodsManagerMapper {
	
    List<SnInforDto> selectSnsBySnOrPalletId(@Param("sn")String sn, @Param("palletId") Integer palletId);

    List<SettlementReportExt> searchSettlementReport(SettlementReportSearchRequest search);

    List<SettlementReportExt> searchSettlementReportTset(SettlementReportSearchRequest search);

    List<SettlementReportExt> searchNewSettlementReport(@Param("search")SettlementReportSearchRequest search);

    BigDecimal selectMesUnderLineQty(String orderNo);

    BigDecimal selectMesUnderLineQtyHistory(String orderNo);

    List<SettlementReportExt> searchNewSettlementReportNoView(@Param("search")SettlementReportSearchRequest search);


    List<SettlementReportExt> searchNewSettlementDayReport(@Param("search")SettlementReportSearchRequest search);
}
